package com.xq.shop.service.impl;

import com.xq.shop.dao.domain.entity.OrderGoods;
import com.xq.shop.dao.mapper.OrderGoodsMapper;
import com.xq.shop.dto.IntegerDto;
import com.xq.shop.service.IOrderGoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xq.shop.vo.OrderGoodsVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 订单商品表 服务实现类
 * </p>
 *
 * @author gaoxiaojin
 * @since 2024-07-30
 */
@Service
public class OrderGoodsServiceImpl extends ServiceImpl<OrderGoodsMapper, OrderGoods> implements IOrderGoodsService {

    @Override
    public List<OrderGoodsVo> getOrderGoodsById(IntegerDto dto) {
        return baseMapper.getOrderGoodsById(dto);
    }

    @Override
    public List<OrderGoods> getGoodsQuotationHistory(IntegerDto dto) {
        return baseMapper.getGoodsQuotationHistory(dto);
    }
}
